package cn.ivicar.iov.dao;

import cn.ivicar.iov.entity.FlowPackage;

import java.util.List;

/**
 * @program: iov
 * @description: ${description}
 * @author: Mr.Wang
 * @create: 2018-08-14 18:10
 **/
public interface FlowPackageDao {
    /**
     * 通过flow_package_id列出其flow_amount
     *
     * @return flow_amount
     */
    public int queryFlowAmountByFlowPackageId(int flow_package_id);
    /**
     * 通过flow_package_id列出其duration
     *
     * @return duration
     */
    public String queryDurationByFlowPackageId(int flow_package_id);
    /**
     * 通过flow_package_id列出其flow_amount
     *
     * @return expense
     */
    public int queryExpenseByFlowPackageId(int flow_package_id);
    /**
     * 获取整个flow_package表信息
     *
     * @return
     */
    List<FlowPackage> queryFlowPackage();
}
